home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1997 March
/
CHIP Mart 1997.iso
/
SurfCam
/
SURFCAM.Z
/
HEI151C.M3
< prev
next >
Wrap
Text File
|
1996-04-01
|
5KB
|
186 lines
name Heidenhain TNC 151 Conversational
O >8
e >8
i 00
N >3 ""
t >2
u >2
L 00
l +->3.>4 L
C >2
X +->3.>4
Y +->3.>4
Z +->3.>4 Force
G >2
d >2.1
H 00 Z
W >2
Q ->3.>4
R ->3.>4 Force Modal
r >2
F >31 Force Modal
M >2 Force Modal
m 00 M
S >4
s ->3.>4
z ->3.>4
w >3.>4
ModalLetters X Y # List of letters that are modal
ModalGs # List of g codes that are modal
Sequence#s N 1 1 1 # Char, freq, incr & start
First#? Y # Y or N 'Output 1st sequence no.
Last#? Y # Y or N 'Output last sequence no.
Comment ( ) # Begin End comment char.
HCode X # X or X U 'Horizontal char.
VCode Y # Y or Y V 'Vertical char.
Dcode Z # Depth char.
FeedCode F # Feed rate char.
Feed L10 # Linear move
Rapid L10 r0 # Rapid positioning word
Spaces? Y # Y or N 'Spaces between words
Spindle 3 4 5 # Cw, ccw & stop m codes
Coolant 8 9 7 # On, Off & Mist m codes
DComp 41 42 40 # Left, Right & Cancel m codes
LComp 43 49 # On & Off codes
CtrIncremental? Y # Y or N 'Inc or abs I & J
ByQuadrants? N # Y or N 'Break arcs at quadrants
Inc/Abs G 91 90 # Inc & Abs char. & values
Work G # Work offset register
Helical? N
MaxRad 999 .010
CtrCode I J # I J or R or I J K L
RevSigns s Q # List of letters to reverse signs
UppercaseComments? Y # Y or N 'Require uppercase comments
Drill 6 # Drilling canned/manual cycle
d0
d0.1 s[RPlane]
d0.2 z[D]
d0.3 Q[D]
d0.4 w[Dwell]
d0.5 F[FRate]
L10 X[H] Y[V] R0 F600 M99
end
Peck 7 # Pecking canned/manual cycle
d1
d1.1 s[RPlane]
d1.2 z[D]
d1.3 Q[VBite]
d1.4 w[Dwell]
d1.5 F[FRate]
L10 X[H] Y[V] r99
L10 X[H] Y[V] W99
end
Tap 5 # Tapping canned/manual cycle
d2
d2.1 s[RPlane]
d2.2 z[D]
d2.3 w[Dwell]
d2.4 F[FRate]
L10 X[H] Y[V] R0 F600 M99
end
LTap 5 # Left handed tapping cycle
d2
d2.1 s[RPlane]
d2.2 z[D]
d2.3 w[Dwell]
d2.4 F[FRate]
L10 X[H] Y[V] R0 F600 M99
end
Cancel # Cancel a canned/manual cycle
G80
end
StartCode # Start of the program
O[Program#] i0
End
1stToolChange # First tool change
t[Tool] l0 R[ToolRad]
u[Tool] H[Lcomp] S[Speed]
L10 X[H] Y[V] R0 F600 M6
L10 Z[D] r13
End
Infeed # Enable cutter comp
L10 X[H] Y[V] G[Side] F[FRate] m0
end
Outfeed # Disable cutter comp
L10 G40 X[H] Y[V]
end
ToolChange # Secondary tool changes
L10 Z0 R0 F600 M91
t[Tool] l0 R[ToolRad]
u[Tool] H[Lcomp] S[Speed]
L10 X[H] Y[V] R0 F600 M6
L10 Z[D] R0 F600 M13
End
EndCode # End of the program
L10 Z0 R0 F600 M91
L10 X0 Y0 M2
e[Program#] i0
End
LineCode # Linear move
L10 X[H] Y[V] Z[D] R0 F[FRate] m0
end
CwCode # CW circular move
C1 X[HCtr] Y[VCtr]
C0 X[H] Y[V] G2 W0
end
CcwCode # CCW circular move
C1 X[HCtr] Y[VCtr]
C0 X[H] Y[V] G3 W0
end
Replace "O" with "BEGIN PGM "
Replace "i" with "INCH"
Replace "e" with "END PGM "
Replace "R0 " with "R "
Replace "G41 " with "RL "
Replace "G42 " with "RR "
Replace "G40 " with "R0 F M"
Replace "t" with "TOOL DEF "
Replace "u" with "TOOL CALL "
Replace "W0" with "R F M"
Replace "W" with "R F M"
Replace "r0" with "R F6000 M"
Replace "r" with "R F6000 M"
Replace "G2 " with "DR- "
Replace "G3 " with "DR+ "
Replace "C1 " with "CC "
Replace "C0 " with "C "
Replace "d" with "CYCL DEF "
Replace "EF 0.0 " with "EF 0.0 DRILL"
Replace "EF 1.0" with "EF 1.0 PECKING"
Replace "EF 2.0" with "EF 2.0 TAPPING"
Replace "s" with "SET UP "
Replace "z" with "DEPTH "
Replace "Q" with "PECKG "
Replace "w" with "DWELL "